package com.irdstudio.efp.esb.service.client;

/**
 * 需求编号:2019D08--
 * 问题编号:
 * 开发人员: caoxin
 * 创建日期:2019/9/26
 * 功能描述:
 * 修改日期:2019/9/26
 * 修改描述:
 */
public class EsbBaseBean {

    // GlblSrlNo 全局流水号
    // InrSrlNo 系统流水号
    // SubtrxNo 子交易序号
    // CnsmrSysID 消费方系统编号
    // PvdrSysID 提供方系统编号
    // SvcId 服务ID
    // CnsmrTxnCd 交易码
    // RetSt 返回状态
    // RetCd 返回代码
    // RetMsg 返回信息
    // INSTID 机构id
    // 用户编号
    private String TRACEID;
    private String GLBLSRLNO;
    private String PLATFMID;
    private String PLAFMUSRID;
    private String INRSRLNO;
    private String SUBTRXNO;
    private String CNSMRSYSID;
    private String PVDRSYSID;
    private String SVCID;
    private String CNSMRTXNCD;
    private String RETST;
    private String RETCD;
    private String RETMSG;
    private String ROUTINGKEY;
    private String INSTID;
    private String CNLTP;
    private String USRNO;

    public String getUSRNO() {
        return USRNO;
    }

    public void setUSRNO(String USRNO) {
        this.USRNO = USRNO;
    }

    public String getTRACEID() {
        return TRACEID;
    }

    public void setTRACEID(String TRACEID) {
        this.TRACEID = TRACEID;
    }

    public String getGLBLSRLNO() {
        return GLBLSRLNO;
    }

    public void setGLBLSRLNO(String GLBLSRLNO) {
        this.GLBLSRLNO = GLBLSRLNO;
    }

    public String getPLATFMID() {
        return PLATFMID;
    }

    public void setPLATFMID(String PLATFMID) {
        this.PLATFMID = PLATFMID;
    }

    public String getPLAFMUSRID() {
        return PLAFMUSRID;
    }

    public void setPLAFMUSRID(String PLAFMUSRID) {
        this.PLAFMUSRID = PLAFMUSRID;
    }

    public String getINRSRLNO() {
        return INRSRLNO;
    }

    public void setINRSRLNO(String INRSRLNO) {
        this.INRSRLNO = INRSRLNO;
    }

    public String getSUBTRXNO() {
        return SUBTRXNO;
    }

    public void setSUBTRXNO(String SUBTRXNO) {
        this.SUBTRXNO = SUBTRXNO;
    }

    public String getCNSMRSYSID() {
        return CNSMRSYSID;
    }

    public void setCNSMRSYSID(String CNSMRSYSID) {
        this.CNSMRSYSID = CNSMRSYSID;
    }

    public String getPVDRSYSID() {
        return PVDRSYSID;
    }

    public void setPVDRSYSID(String PVDRSYSID) {
        this.PVDRSYSID = PVDRSYSID;
    }

    public String getSVCID() {
        return SVCID;
    }

    public void setSVCID(String SVCID) {
        this.SVCID = SVCID;
    }

    public String getCNSMRTXNCD() {
        return CNSMRTXNCD;
    }

    public void setCNSMRTXNCD(String CNSMRTXNCD) {
        this.CNSMRTXNCD = CNSMRTXNCD;
    }

    public String getRETST() {
        return RETST;
    }

    public void setRETST(String RETST) {
        this.RETST = RETST;
    }

    public String getRETCD() {
        return RETCD;
    }

    public void setRETCD(String RETCD) {
        this.RETCD = RETCD;
    }

    public String getRETMSG() {
        return RETMSG;
    }

    public void setRETMSG(String RETMSG) {
        this.RETMSG = RETMSG;
    }

    public String getROUTINGKEY() {
        return ROUTINGKEY;
    }

    public void setROUTINGKEY(String ROUTINGKEY) {
        this.ROUTINGKEY = ROUTINGKEY;
    }

    public String getINSTID() {
        return INSTID;
    }

    public void setINSTID(String INSTID) {
        this.INSTID = INSTID;
    }

    public String getCNLTP() {
        return CNLTP;
    }

    public void setCNLTP(String CNLTP) {
        this.CNLTP = CNLTP;
    }


    public static final class EsbBaseBeanBuilder {
        // GlblSrlNo 全局流水号
        // InrSrlNo 系统流水号
        // SubtrxNo 子交易序号
        // CnsmrSysID 消费方系统编号
        // PvdrSysID 提供方系统编号
        // SvcId 服务ID
        // CnsmrTxnCd 交易码
        // RetSt 返回状态
        // RetCd 返回代码
        // RetMsg 返回信息
        // INSTID 机构id
        // 用户编号
        private String TRACEID;
        private String GLBLSRLNO;
        private String PLATFMID;
        private String PLAFMUSRID;
        private String INRSRLNO;
        private String SUBTRXNO;
        private String CNSMRSYSID;
        private String PVDRSYSID;
        private String SVCID;
        private String CNSMRTXNCD;
        private String RETST;
        private String RETCD;
        private String RETMSG;
        private String ROUTINGKEY;
        private String INSTID;
        private String CNLTP;
        private String USRNO;

        private EsbBaseBeanBuilder() {
        }

        public static EsbBaseBeanBuilder anEsbBaseBean() {
            return new EsbBaseBeanBuilder();
        }

        public EsbBaseBeanBuilder withTRACEID(String TRACEID) {
            this.TRACEID = TRACEID;
            return this;
        }

        public EsbBaseBeanBuilder withGLBLSRLNO(String GLBLSRLNO) {
            this.GLBLSRLNO = GLBLSRLNO;
            return this;
        }

        public EsbBaseBeanBuilder withPLATFMID(String PLATFMID) {
            this.PLATFMID = PLATFMID;
            return this;
        }

        public EsbBaseBeanBuilder withPLAFMUSRID(String PLAFMUSRID) {
            this.PLAFMUSRID = PLAFMUSRID;
            return this;
        }

        public EsbBaseBeanBuilder withINRSRLNO(String INRSRLNO) {
            this.INRSRLNO = INRSRLNO;
            return this;
        }

        public EsbBaseBeanBuilder withSUBTRXNO(String SUBTRXNO) {
            this.SUBTRXNO = SUBTRXNO;
            return this;
        }

        public EsbBaseBeanBuilder withCNSMRSYSID(String CNSMRSYSID) {
            this.CNSMRSYSID = CNSMRSYSID;
            return this;
        }

        public EsbBaseBeanBuilder withPVDRSYSID(String PVDRSYSID) {
            this.PVDRSYSID = PVDRSYSID;
            return this;
        }

        public EsbBaseBeanBuilder withSVCID(String SVCID) {
            this.SVCID = SVCID;
            return this;
        }

        public EsbBaseBeanBuilder withCNSMRTXNCD(String CNSMRTXNCD) {
            this.CNSMRTXNCD = CNSMRTXNCD;
            return this;
        }

        public EsbBaseBeanBuilder withRETST(String RETST) {
            this.RETST = RETST;
            return this;
        }

        public EsbBaseBeanBuilder withRETCD(String RETCD) {
            this.RETCD = RETCD;
            return this;
        }

        public EsbBaseBeanBuilder withRETMSG(String RETMSG) {
            this.RETMSG = RETMSG;
            return this;
        }

        public EsbBaseBeanBuilder withROUTINGKEY(String ROUTINGKEY) {
            this.ROUTINGKEY = ROUTINGKEY;
            return this;
        }

        public EsbBaseBeanBuilder withINSTID(String INSTID) {
            this.INSTID = INSTID;
            return this;
        }

        public EsbBaseBeanBuilder withCNLTP(String CNLTP) {
            this.CNLTP = CNLTP;
            return this;
        }

        public EsbBaseBeanBuilder withUSRNO(String USRNO) {
            this.USRNO = USRNO;
            return this;
        }

        public EsbBaseBean build() {
            EsbBaseBean esbBaseBean = new EsbBaseBean();
            esbBaseBean.setTRACEID(TRACEID);
            esbBaseBean.setGLBLSRLNO(GLBLSRLNO);
            esbBaseBean.setPLATFMID(PLATFMID);
            esbBaseBean.setPLAFMUSRID(PLAFMUSRID);
            esbBaseBean.setINRSRLNO(INRSRLNO);
            esbBaseBean.setSUBTRXNO(SUBTRXNO);
            esbBaseBean.setCNSMRSYSID(CNSMRSYSID);
            esbBaseBean.setPVDRSYSID(PVDRSYSID);
            esbBaseBean.setSVCID(SVCID);
            esbBaseBean.setCNSMRTXNCD(CNSMRTXNCD);
            esbBaseBean.setRETST(RETST);
            esbBaseBean.setRETCD(RETCD);
            esbBaseBean.setRETMSG(RETMSG);
            esbBaseBean.setROUTINGKEY(ROUTINGKEY);
            esbBaseBean.setINSTID(INSTID);
            esbBaseBean.setCNLTP(CNLTP);
            esbBaseBean.setUSRNO(USRNO);
            return esbBaseBean;
        }
    }
}

